﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SyncStream.Core.Storage
{
    public abstract class StorageItem : IStorageItem
    {
        #region IStorageItem Members

        public int ID
        {
            get;
            protected set;
        }

        public int Revision
        {
            get;
            protected set;
        }

        public DateTime LastModified
        {
            get;
            protected set;
        }

        public abstract bool WriteBytes ( int startPosition, byte[] blob);

        public abstract bool ReadBytes  ( int startPosition, byte[] blob);

        #endregion
    }
}
